projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01cafce
)
drivers/crypto/fsl: fix "era" property value on LE platforms
author
[email protected]
<
[email protected]
>
Wed, 8 Jul 2015 14:24:56 +0000
(17:24 +0300)
committer
York Sun
<
[email protected]
>
Mon, 3 Aug 2015 19:06:38 +0000
(12:06 -0700)
Use fdt_setprop_u32() instead of fdt_setprop().
Fixes: 0181937fa371a ("crypto/fsl: Add fixup for crypto node")
Signed-off-by: Horia Geantă <
[email protected]
>
Reviewed-by: Mingkai Hu <
[email protected]
>
Acked-by: Ruchika Gupta<
[email protected]
>
Reviewed-by: York Sun <
[email protected]
>
drivers/crypto/fsl/sec.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/fsl/sec.c
b/drivers/crypto/fsl/sec.c
index 443ee964feaeb881d7e13a570d68f86d8d67d5e1..b25b1a4052d23b596341145a98dea1d742dabd89 100644
(file)
--- a/
drivers/crypto/fsl/sec.c
+++ b/
drivers/crypto/fsl/sec.c
@@
-155,8
+155,7
@@
static void fdt_fixup_crypto_era(void *blob, u32 era)
return;
}
- err = fdt_setprop(blob, crypto_node, "fsl,sec-era", &era,
- sizeof(era));
+ err = fdt_setprop_u32(blob, crypto_node, "fsl,sec-era", era);
if (err < 0) {
printf("ERROR: could not set fsl,sec-era property: %s\n",
fdt_strerror(err));